
/**
 *      boolean needAdvice;
        String type;
        Object payload;
 */
export type WsRes = {
    needAdvice:boolean,
    message:string,
    type:string,
    payload:any
}

export const WS_REQ_CHART = 'CHART'

export type WsReq = {
    type:string,
    content:any
}

/**
 *      String from;
        String to;
        String content;
 */
export type ChartRecord = {
    from:string,
    to:string,
    content:string
    date?:any
}